const state = {
    appSize: {
        width: 0,
        height: 0
    }
}

const mutations = {
    
    SET_APP_SIZE: (state, appSize) => {
        state.appSize = appSize
    }
}

const actions = {
   
    setAppSize({ commit }, appSize) {
        commit('SET_APP_SIZE', appSize)
    }
}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}